package com.sllp.C71S3TsllpShop.bean;

import java.math.BigDecimal;
import java.util.List;

public class Specs {

	private Integer id;

    private String name;

    private Integer productNum;

    private Integer product;

    private BigDecimal productPrice;

    private List<Image> image;
    
    private Product products;

    private List<OrdersItem> ordersItems;
    
    public Specs(Integer id, String name, Integer productNum, Integer product, BigDecimal productPrice) {
        this.id = id;
        this.name = name;
        this.productNum = productNum;
        this.product = product;
        this.productPrice = productPrice;
    }

    
    public Specs() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public Integer getProduct() {
        return product;
    }

    public void setProduct(Integer product) {
        this.product = product;
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

	public List<Image> getImage() {
		return image;
	}

	public void setImage(List<Image> image) {
		this.image = image;
	}

	public Product getProducts() {
		return products;
	}

	public void setProducts(Product products) {
		this.products = products;
	}

	public List<OrdersItem> getOrdersItems() {
		return ordersItems;
	}

	public void setOrdersItems(List<OrdersItem> ordersItems) {
		this.ordersItems = ordersItems;
	}

}